The best way is: Do not use metal which will be affect by magnetic field strongly.
If you want to prevent the metal under the influence of the magnetic field.
I would suggest you shield the magnetic field (surround the bone) with very high mu metal. Check out [url=http://www.lessemf.com/guidelines.pdf]magnetic shielding[/url]