An Internal Encapsulating Layer for Efficient, Stable, Repairable and Low-lead-leakage Perovskite Solar Cells