Smart plasmonic metal-dielectric nanostructures for Surface Enhanced Raman Scattering