What should be done about it?
First, I need to love and have hope for all people.
If I was the Pope, what would I need to do? Pray and trust God to guide me. I would remove anyone who was adequately shown to have been involved in doing or covering up for such evil. And I would have a meeting with ones who had cleared those people to get through seminary. I would be very concerned that such evil people were not detected and stopped from becoming ordained.
1 Timothy 3:1-10 is clear how no man is qualified just to be considered for ordination unless he is "blameless". Certainly ones who abuse children and cover up for ones who do are not "blameless". And so I would be concerned that a seminary evaluation person can not tell the difference between a person of God's love, versus ones capable of such evil. There is no way they can be ministering God's love, I would say; and Jesus makes even His "sheep" able to tell who is feeding them His love and who is not. So, if leaders, even, can't tell the difference, this I would say is a major problem.
And so, also, I would be evaluating myself, about how ever I might have fooled my own self into advancing predators and such incapable administrative persons to become bishops and cardinals. And therefore I would need to evaluate if I myself am qualified to handle this problem.
I would submit that we need to stop the outright disobedience of the standards of our Apostle Paul, in 1 Timothy 3:1-10. Because, by discriminating against married men whom God has qualified to pastor, leaders are being disobedient, and therefore operating in a disobedient spirit (Ephesians 2:2) which makes them darkened and degraded from being able to rightly evaluate candidates. So, by operating in a spirit of discrimination, they have helped to cause the problem, by not being able to tell the difference between a truly qualified man, versus even such ones.
And it seems as though even whole congregations, or a lot of the members, could not tell the difference when they had such evil men in their pulpits. So, I would call for action to get everyday members corrected by Jesus so they know His voice directing them about who to trust and who not to trust > John 10:1-30 < yes, ones claim this is not realistic to expect of Christians, but this is guaranteed by Jesus, about His "sheep" . . . not just His leaders.
I would not go with the idea that removing homosexuals from the priesthood is what is relevant to this problem. May be certain ones could be coaxed by favors to accept predators. But homosexuality by definition involves preference for another consenting adult, as far as I know, and by definition it does not include predation on underage people.
So, while I would not accept gays in the priesthood, I would not assume that removing them would be relevant to this trouble. So, in case certain clerics and psychiatrists told me that gays were a major factor, I would question the credibility of such advisors. But yes I would move to ordain only ones who meet the qualifications of 1 Timothy 3:1-10 for taking "care of the church of God"; and these, according to what I read in this scripture, are family men who first have learned how to take care of their own families. And their wives would help them to get such correction and maturation; so their wives would be so essential to their becoming and growing in being qualified; so I would want couples of such sort to pastor.
And, of course, pray and find out how to use celibates at various levels and places.
By the time I was done, the Roman Catholic Church would no longer be the Roman Catholic Church, then, plus I would probably have appointed a group of qualified leaders to kick me out!!