The city of Long Beach announced Tuesday that it has received two grants totaling $1 million to fund its lab that aims to give tools to first responders to divert residents in need out of the criminal justice system and toward resources like treatment and care.