WARNING: This page is about a different car, the 2002 Oldsmobile Bravada, 2002 GMC Envoy XL, 2002 GMC Envoy, and 2002 Chevrolet TrailBlazer. However, it is still accessible from the selected car via links, so may be relevant.
Open the liftgate.
Release the clips that retain the garnish molding to the liftgate.
Remove the wire harness (1) from the slot located on the garnish molding.
Remove the garnish molding from the liftgate.
Fig 1: Removing Rear Window Wire Harness In Molding