In Situ Attenuated Total Reflection Tribometry