"in connection with the giving of evidence or the production of any book document or statement at the enquiry the law relating to privilege as applicable to a witness giving evidence or subpoenaed to produce a book document or statement in criminal proceedings in a magistrate s court shall apply"