The wiring harnesses on the 5th Gens are specific to the factory options. If it came with the regular mirror, it won't be wired for the auto-dimming mirror. If the auto dimming mirror needs power, you'll have to supply it to the plug via a splice or a new fused power wire.