In a CDO, the assets are pledged to a trustee for the benefit of the bond certificate holders.
Principal payments are applied sequentially to the most senior tranche of the structure until the most senior class has been repaid.