Where does the first decryption key come from? Does the user supply a decryption key first, and then supplies a pin? Verifying the pin at the application level means that once its decrypted, the attacker doesn't need the pin at all, they can just read the decrypted data directly.
I'm fairly sure you are just sending these comments directly to your LLM.