Any party to an arbitration agreement may sue out a writ of subpoena ad testificandum or of subpoena duces tecum, but a person shall not be compelled under any such writ to produce any document which he or she could not be compelled to produce on the trial of an action.