Uber and Lyft already did this in California after the passage of AB5 earlier this year. That's why they now have price estimates instead of giving exact values ahead of time.
So how that works in practice? One of the major advantages of Uber for me was fixed price upfront. So now I don't know the price until I order the ride? What if the driver sets an excessive price - can I decline the ride?
My understanding is that the rider is presented with a range of possible fares before searching (e.g. $9-10). If they are matched with a driver asking for a higher fare than that range they have the option to decline.
Who will keep declining? Drivers set their prices up front (they don’t even get requests outside of their price) and riders auto accept if it’s in the range they were shown.