The $22 million settlement, if approved, would continue the trend of big spending on lawsuits in recent years.