Solid-State Electrochemical Switch of Superconductor−Metal−Insulators