Silver doped metal layers for medical applications