Banks newly affiliated with insurance companies and brokerage houses would not be able to share customer information among their affiliates or with third parties without prior written consent under a bill passed by the California Assembly’s Judiciary Committee on Tuesday.

The measure was one of a pair of highly controversial bills approved by the committee. The second bill would bar pre-dispute binding arbitration agreements in health plan contracts.