WARNING: This page is about a different car, the 2023 Nissan Sentra. However, it is still accessible from the selected car via links, so may be relevant.
When the rear window defogger switch is turned ON, current flows to the mirror defogger, heating the heat wires.