The Senate confirmed Markwayne Mullin as homeland security secretary, President Donald Trump's pick to take over the role.