I agree with the previous comment. Amalgam fillings release mercury when they are placed and when they're removed, not when they're undisturbed. They are still the most common dental material used worldwide and are considered to be safe by the dental community and governmental regulatory agencies.
Your symptoms are probably not related to amalgam restorations.