To be fair, “legal” isn’t limited to litigation; it also includes due diligence work. Also, “piercing the veil” refers to corporate law, where you “pierce” the personhood of the corporation to reach the individual shareholders, not to attorney-client privilege.