Tunable Effect Of Metal Ions On Polyelectrolyte Mechanics