Should the prosecuting attorney not approve the contract as above provided, then such contract shall be void, and the status of the minor shall remain as if no contract had been made, unless the prosecuting attorney's determination be the result of arbitrary or capricious action.