An implantable device with in vivo functionality, where the functionality of the device is negatively affected by ROS typically associated with inflammation reaction as well as chronic foreign body response as a result of tissue injury, is at least partially surrounded by a protective material, structure, and/or a coating that prevents damage to the device from any inflammation reactions. The protective material, structure, and/or coating is a biocompatible metal, preferably silver, platinum, palladium, gold, manganese, or alloys or oxides thereof that decomposes reactive oxygen species (ROS), such as hydrogen peroxide, and prevents ROS from oxidizing molecules on the surface of or within the device. The protective material, structure, and/or coating thereby prevents ROS from degrading the in vivo functionality of the implantable device.