Keep a local copy of the string in the envelope, so that the data does not go out of scope