If you did not know that the driver had been drinking before you got in the car with them, there is no case for contributory negligence. However, if witnesses saw you visiting a bar together or attending a party, it could be argued that you did in fact know. Should the court agree that was the case, you would end up being considered to be contributorily negligent.