Solid friction in dielectric losses