Effect of conductive substrate on dissolution and lateral diffusion of metals in vitreous chalcogenides