New legislation would limit the fees that apps can charge restaurants through 2022 to allow them time to recover from the pandemic.