Void as in not enforceable in court, of course.
Void as in the witness still gets paid? Depends on how it’s structured.