What is this for?

For this application it likely has a nut with a captive washer on the mirror stud & a chrome plated screw in the rear position.