Try one of these. I bought the 2nd link for my plate. Got the 8mm. The cover that you have might need the 10mm.
Black License Plate Screws for BMW and Tesla, Phillips Machine Pan Head 18-8, Stainless Steel, M5-0.8 x 8 mm Bolt (Pack of 4) https://a.co/d/iswmSFw
ReplacementScrews Rear License...