Civ. Code § 8846 — under California Civ. Code.
Civ. Code § 8846
It is against public policy to waive the provisions of this article by contract.