In-Situ Evaluation of Functional Layer by Electrochemical Impedance Spectroscopy