Text this: Development of Adaptive Resource Allocation and Interference Mitigation for Spectrum Sharing in D2D-Enabled 5G Heterogeneous Networks: A Case Study of Urban Microcell Environments