This question already has an answer here:
I encrypted my computer with FileVault full disk encryption on Yosemite. FileVault gave me an emergency decryption code to use when I forgot my password.
For some reason, when I changed my account password while the drive was being encrypted it gave me another emergency code. How can I verify which one works?