mineral oils is a distillate process. While I am sure it needs some additional cleaning for the stuff that is fit for humans, it shouldnt have any sort of heavy metals in it. Mercury is the only heavy metal that distills at any reasonable temperature but if that was present it would wind upin a different fraction than the mineral oil.
But yea, regardless im sure there is some additional cleaning and/or processing for the mineral oil intended to be used for humans.