The bill would set regulations around AI use in elections and for mental health purposes.