It was forever ago that my old family run spice company wanted to run bulk packages of diatomaceous earth through our food equipment to repack into smaller bags. I was told, as a quality supervisor of a department of myself, that the execs had firmly decided to do it and I was not permitted to object. I got a COA for the intended batch, and it declared a large amount of heavy metals (nickel, cadmium, chromium, bunch of them I can't remember). I remember researching the quantities present and pointed out that they were in excess of what could/should be handled by humans without a significant level of PPE, and I had no clue whether we could clean the augers and packaging machines thoroughly to then run food through it. I put my research into a memo and sent it to all the executives/family members, informed them I wouldn't sign off on anything related to it going through our food machines.
About 2 hours later, maintenance manager (also one of the named owners) wandered over to my desk like he often did to chit chat. He asked me, "Is this stuff as bad as you make it sound?" Showed him what I found, and he read it a bit. "Alright, I'll tell these guys if they run it, then I'm not taking anything apart for cleaning. Sounds like someone should tell them we're a food manufacturer." He wanders off, conference room doors get closed with the family inside. Few minutes before shift end, my production manager comes back to our office and lets me know the execs have decided to rent a separate warehouse suite next door and buy a used packaging unit somewhere to go ahead and run it under a different company name they owned.
Long story short: My one experience with the stuff frightened me. I was prepared to be fired or even resign; I didn't want to be implicated in anyway to heavy metal contamination of otherwise clean spices. So check into a COA for what your plant is running and see if it shares any of the qualities I was concerned with way back in my story. If you run through SQF code, various references are made to the safety of raw materials to be used within your processes:
2.3.2.2 Specifications for all raw materials and packaging, including, but not limited to, ingredients, additives, hazardous chemicals, processing aids, and packaging that impact finished product safety shall be documented and kept current.
2.3.2.4 Raw materials, packaging, and ingredients shall be validated to ensure product safety is not compromised and the material is fit for its intended purpose.
2.3.2.10 Specifications for raw materials and packaging, chemicals, processing aids, contract services, and finished products shall be reviewed as changes occur that impact product safety. Records of reviews shall be maintained.
2.4.3.7 The food safety team shall identify and document all food safety hazards that can reasonably be expected to occur at each step in the processes, including raw materials and other inputs.