Here's what I use to protect the frame from metal contact. I use it more on the back of bottle cage clamps though.
Comes on different sizes and colors. Just paint a thin layer on the surface of the attaching part that will contact, let it dry, and you're golden.