If the "wire coming out of it" was going from the top edge of the pate to the upper part of the windshield (as seen in my pictures below), than it's not an electrical wire. That's a stiff metal rod which attaches to the windscreen frame and holds it in place. The standard single-pane version (bottom picture) has one on the left, while the wider double-pane (top picture) has one on each side. The double also heats each side individually, so if one element fails you still have another. They're quita annoying at first, but you learn to love them after getting an inch of rime on the windscreen and the defrost doesn't work...