Using Strong Gravitationally Lensed Galaxies To Probe The Metallicity History Of Star-Forming Galaxies Between Redshift 1 And 3