• Is it the same code?

    I'd double check that you have the same key, maybe restore it again. Someone could have regenerated something. Or you might need to restore it each time you restore the db.

    If you are getting NULL, that sounds strange. Can you open the encryption keys with no issue? Can you encrypt something and decrypt something new on the test db?