Text this: Energy Efficient Resource Allocation for H-NOMA Assisted B5G HetNets