Optimization of innovative composite sensor for Pb(II) detection and capturing from water samples