Advanced Security Proofs with PRF Advantage