Applications, returns and information contained therein filed or furnished under this chapter shall be confidential, and except in accordance with proper judicial order, or as otherwise authorized by this section or as authorized by Section 27-4-3, it shall be unlawful for the Commissioner of Revenue or any deputy, agent, clerk or other officer or employee of the Department of Revenue or Department of Information Technology Services, or any former employee thereof, to divulge or make known in any manner the amount of income or any particulars set forth or disclosed on any application, report or return required. The term "proper judicial order" as used in this section shall not include subpoenas or subpoenas duces tecum but shall include only those orders entered by a court of record in this state after furnishing notice and a hearing to the taxpayer and the Department of Revenue. The court shall not authorize the furnishing of such information unless it is satisfied that the information is needed to pursue pending litigation wherein the return itself is in issue, or the judge is satisfied that the need for furnishing the information outweighs the rights of the taxpayer to have such information secreted.