Kaman_anand when are you facing heating issues otherthan charging time like using 5G mobile data or wifi or both, and also I want your device log file so I can upload it to my Google drive and send them the link.
To capture the log file just go to Google dialer app and enter *#*#569#*#* , it will open log tool and select general problems and turn on screenshot and bug report and systrace and copy trace and use your device as normal as you use everyday and and re-create the heating issues and YouTube HDR issues and run the log tool for more than 30 minutes and after all that stop log tool and save it to your device by clicking 3 dot menu inside the log tool app and select copy so it will be saved to your device