A New Smart Surface-Enhanced Raman Scattering Sensor Based on pH-Responsive Polyacryloyl Hydrazine Capped Ag Nanoparticles