Compositions for in situ inhibition of corrosion in boreholes or wells