Which module is the internal memory?

I might be wrong here, but the internal storage is encrypted and I’m not sure if the new device would know the decryption key after the memory gets inserted.