In the United States at least, a bank who is offering a subprime loan is taking the bulk of that risk.
Student loans are guaranteed by the federal government. That is not the same thing at all.