Passcode needs to be a pointer into the new buffer