This is what I plan to use & do for my GoPro under visor. The 3M tape isn't 100% reliable so the rivets are a much better option since it's only the visor. I will paint mine black to blend in a bit better.
That specific mount is linked below, found those images above in the Amazon reviews.https://www.amazon.com/gp/product/B06Y1X84JH/
If I had a 3D printer, I could probably make something a bit lower profile and smaller.
/