Text this: In-situ study of electrochemical migration of tin in the presence of bromide ion