Assuming you/they Crate the the other Dog too, you might put the doors of the Crates face to face (door to door), where the younger Dog sorta has "company". Then as the days pass, start moving them farther apart.

I'd say the Crate was too small for him, given that he's trying to get out to potty. Also a longer "outside" visit before bedtime, may help some.