Maintenance mechanic was changing out skid plates on log washer. While hammering on the old skid plate below them, a metal fragment flew under their safety glasses and lodged in their eye. Employee reported the incident to their manager. Safety Dept. was notified. The employee was taken to ER and the metal piece was removed.