In situ scanning vibrating electrode technique for lithium metal anodes