p.316
https://www.med.navy.mil/Portals/62/Documents/NMFSC/NMOTC/NAMI/ARWG/AWRG COMPLETE_250423.pdf?ver=wcAc5mWj2OzqBVfJ1IbMfQ==
"ORTHOPEDIC HARDWARE, RETAINED.....
WAIVER: Retained hardware is NCD with no submission required if applicant or designated personnel have completed treatment, are free from symptoms, and retained hardware does not create an obstruction to interfere with flight duties."
Talk to your recruiter about it but I think you'll be fine. Also depends on how long ago the surgery was.