Use a StringRefMemoryObject. NFC.