Ephesians 2:19-20 Paul writes to the church at Ephesus that they are "members of God’s household, built on the foundation of the apostles and prophets,with Christ Jesus as the chief cornerstone.
Now, you can tear apart the meaning of Peter and rock in Matthew 16:18 all you want but for me Ephesians straightens that out.
Now, verse Matthew 16:19 says “keys of the kingdom of heaven”. It says (of) not (to). This means to me the understanding of the kingdom of heaven.
By the way, if the “foundation” of the Catholic church papacy is Peter and it is built on that then it has to wrong because Jesus is the chief cornerstone with all the apostles and prophets as the foundation not just one.