Vegas shooter was reportedly prescribed anti-anxiety meds

Las Vegas shooter Stephen Paddock was reportedly prescribed diazepam, an anti-anxiety medication, over the summer. What is diazepam and could it have played a role in Paddock's mindset the night he killed 59 innocent people?