A new Florida law to curb alleged fraud by contractors could create collateral damage for lawyers by slashing attorney fees in insurance litigation — and all just in time for hurricane season.

Before May 23, contractors could enjoy a one-way attorney fee privilege. It meant win or lose, they wouldn’t be liable for attorney fees if they sued an insurer to collect insurance benefits that homeowners had assigned to them in exchange for doing repairs.