Per the IRS Individual Taxpayer Identification Number (ITIN) Reminders for Tax Professionals webpage:
If the Social Security Number (SSN) on a Form W-2 is different from the Individual Taxpayer Identification Number (ITIN) number used to file the return, the wages are reported as being earned by the ITIN holder, and are taxable to the ITIN holder. Entering the correct SSN on the W-2 will make it easier for IRS systems to associate the wages with the ITIN holder. This will stop the IRS from sending a notice to the person whose SSN is being used and eliminates the need for that person to prove that they did not earn the wages.
In TaxAct, only the Professional version of the software allows overriding the ITIN number on Form W-2 (which was automatically transferred from the Basic Info section of the program), and replacing it with the Social Security Number that actually appears on the W-2 and still have the ability to e-file the return. Desktop users of the program (who are not using the Professional version of the software) are able to override the number on the W-2, but must paper file the return as overridden fields are not allowed when e-filing those returns.
Note that any link in the information above is updated each year automatically and will take you to the most recent version of the webpage or document at the time it is accessed.