In case of a suit to enjoin the collection of the contributions provided for in Chapters 27 through 41 of this title, to test the validity of those chapters or for another purpose connected with its duties, the department must be made a party to it and the Attorney General or counsel for the department shall defend the suit in accordance with the provisions of Section 41-27-580.
S.C. Code § 41-27-570