The definition of a contract is that it is a bilateral agreement. If one side fails to keep their obligations, the other side is no longer required to honour the contract either. So, even assuming that the “social contract” is a real thing, if the ruling class decides to intrude on the rights of the working class, the working class is no longer bound to it. They can and should be stirring up some shit in response.