Any person charged with taking illegal interest may be required to answer touching the same, on oath, in any civil proceeding.