Loy gets No. 2 post at Homeland Security