Gov. Gavin Newsom on Wednesday signed two sweeping pieces of legislation targeting perceived bias in California courtrooms.