How to remove upper molding?

Hi guys,
I am trying to replace the upper molding on my 2019 CX9 GT. I ordered the OEM replacement part already, but I couldnt get the metal connector/rivets to come out. The plastic rivets are easy, but there are few that made with metal. Anyone has any experience how to remove them? Do we have to drill them out? Thanks in advance.
 
Hi. I need to replace this part as well. Did you finally managed to remove the molding?
 
Back