Sub-ppm heavy metal analysis