In vivo electrochemical characterization of tissue-electrode interface during metamorphic growth