The new $10 million investment will support teachers who provide mental health help to students across the country.