Protecting an inheritance in a divorce takes work