I found several YouTube videos on removing rivets before replacing broken latch on an
awning. There are several ways to do it, but this worked for me:
Use a center punch to create a small indentation in the middle of the rivet so the drill will not walk around.
Start drilling with a sharp (new) drill bit a bit smaller than the rivet itself. Periodically check to see the surrounding parts are ok, and try to knock, or wrestle otherwise persuade the erstwhile rivet it must depart.
After drilling, sometimes a punch or the center punch will knock it out. Other times a chisel is needed to cu the head off. All depends on the location and parts affected.
It's really pretty simple, it just takes determination, a level head and a steady hand. Your pocketbook will thank you when the repair is finished!