Function: getLatestEncryptionKey()
This function returns the most recently registered encryptionKeys inserted via registerNewEncryptionKey by the KEY_MANAGER_ROLE.
Branches and code coverage
Intended branches
Verifies at least one key exists.
Returns the last key ID and its value.