All contracts commonly known as “grubstaking,” except as between the parties making them, are void unless in writing, subscribed by the parties, and recorded with the recorder of the recording district in which the location is made. The contract must contain the names of the parties and the duration of the contract.