Replace sid_string_static with sid_to_string