Effect of high-frequency excitation on a class of mechanical systems with dynamic friction