Whereas corrosion of steel occurs due to a drop in activation potential caused by sodium chloride and to the effect of anode polarization produced by electro-chemical factors.
Sodium nitrite prevent the bar from corrosion by controlling the drop of activation potential caused by sodium chloride.