Photo-inhibition of passivity breakdown on nickel