Revert this back for now - this code is operating directly on the string pointers which it treats as either unicode or native depending on context (i.e. it doesn't need to be updated to stringrefs).