Encapsulating Ion-Solid Interactions in Metal-Oxide-Semiconductor (MOS) Devices