On the survivability of planets in young massive clusters and its implication of planet orbital architectures in globular clusters