Similar lawsuits in the past have faced an uphill fight because of strong protections in U.S. federal law for the technology industry.