Release chemical protection for integrated complementary metal-oxide-semiconductor (cmos) and micro-electro-mechanical (mems) devices