The presiding officer of the senate, the speaker of the house of representatives, or the chairman of any committee of either house, or the chairman of any joint committee of both houses of the legislature, shall have power to administer an oath to any witness who may appear to testify at any investigation being had by either of said houses of the legislature, or any committee or joint committee thereof.
NMS § 2-1-2