Electrochemical mechanism in the stress corrosion cracking of titanium alloys