Pepys didn't write the letter. It was written by someone in Orkney five years before the fire and sent to someone living on a street that was later destroyed by the fire.
The quote from Pepys is from his diary, recording the later destruction of the street in 1666.