In any action under Section 58-17-3980 and upon any application for any injunction under Section 58-17-3990 any director, officer, receiver or trustee of any railroad corporation or company or any receiver, trustee or person operating any railroad company or any agent of any such corporation or company, receiver, trustee or person aforesaid, or of any of them alone or with any other person may be compelled to attend, appear and testify and give evidence. No claim that any such testimony or evidence might tend to incriminate the person testifying or giving evidence shall be of any avail; but such evidence shall not be used against such person on the trial of any indictment against him. The attendance and appearance of any such person who may be compelled to appear or testify, and the giving of testimony or evidence by such person and the production of books and papers by him may be compelled as in the case of any other witness and if such deposition or evidence or the production of any books or papers may be desired or required for the purpose of applying for or sustaining any injunction it and the production of books and papers may be had, taken and compelled by or before the clerk of the court in which such action is pending or in any manner provided by the laws of this State as to the taking of other depositions or evidence or the attendance of witnesses or the production of other books or papers.
S.C. Code § 58-17-4010