The samples collected were filtered through 0.2 m membranes to remove impurities.Hg2+ stock solution at different concentrations was added in the sesamples, and the biosensor was then employed to detect its concentration. All the measurements were performed three times.