How Generative AI Secures Compliance and Mitigates Risks in HR