WARNING: This page is about a different car, the 2003 Oldsmobile Bravada, 2003 GMC Envoy XL, 2003 GMC Envoy, and 2003 Chevrolet TrailBlazer. However, it is still accessible from the selected car via links, so may be relevant.
Push the retaining tab inward and rotate the socket counterclockwise.
Remove the socket from the cornering lamp housing (1).