If you are an employee, you are an individual and your employer would need to use your Social Security Number, they cannot use a corporate EIN.
A corporate EIN is only used for the corporation, not the individual. If you are saying a customer used your SSN instead of your EIN, what type of corporation do you have? LLC, S-Corp, or C-Corp? Please provide more details if this is the situation.