I just used PlastiDip.
Perfect for small areas and non-destructive.
I think it is some kind of latex based or something so it is flexible.
It's fairly heat-resistant as a buddy of mine used it on his exhaust guard with no issues.
All you need is to degrease the surface area properly and spray it on.
4 or 5 coats and you're all set.