A justice of a court that has jurisdiction of child support and paternity matters may, upon the application of the IV-D agency, compel the attendance of witnesses, the production of books, papers, records, data and other evidence and the giving of testimony before the IV-D agency in the same manner and to the same extent as before such court and in accordance with the applicable rules of pr