I did found a way to deal with this. As after 3 months of headscrapping in this issue , I tried installing Ubuntu OS in a virtualbox on my pc. In the Ubuntu OS, I can play these videos without any issue but not in windows on the same pc. This shows that there is something wrong with my windows os and not with my pc. But a thing to note is that since I started getting this issue , I first did a windows repair using windows media creation tool , that didn't helped . In this span of 3 months my windows 10 has been updated 3-4 times and is currently up-to-date, still I cannot play DRM protected videos on windows 10.
So, if anyone is facing the same problem ..... I recommend to try seeing those videos on another OS like Ubuntu or Kali Linux on the same pc using oracle vm virtualbox and streaming those videos in that OS. This will work if there is no issue of your pc's hardware.