Tribochemistry in contact recording