I have no idea. I had a lot of cavities as a kid, but I don't know what kind of fillings were used. All of them have been replaced with ceramics over the past 6 years.
Most of my symptoms I can confindently say came after specific stressful periods/events in my life. But this sounds worth investigating.