Chemical effects in ion mixing of a ternary system (metal-SiO2)