Lie detectors are not admissible in court. They can't tape record your voice without getting some court approval via a warrant. You should be given the opportunity to review your statement for accuracy.
Specific legal advice can only be given with full knowledge of all of the facts and circumstances of your situation. Posting a question on this website does not create an attorney-client relationship. All questions you post will be available to the public; do not include confidential information in your question. If you would like to consult with me privately, you may do so by telephone at 215-423-5500.
I confess I'm struggling to understand the circumstances you have described. If you've been subpoenaed you must appear at the location indicated at the appointed time. If called to testify, you are required to testify truthfully. No they can't make you submit to a polygraph examination anywhere, anytime. If you are concerned enough about the position you find yourself in, then I suggest you talk privately with one or more experienced criminal defense attorneys in your area.
You need to tell an attorney the whole story so he can figure out what to do for you. Whatever you do, dont lie to the police or make false statements. You can be arrested for this.