Today I removed the drum and looked it up. Yes, the hub and the studs were attached inside of the drum, but they came off easily after I tapped it a few times with a hammer. The drum was regular drum and it was not a particular one. Many thanks to the members who tried to help me out. I measured the old drum and it still looks O.K. I compared it to the new one I bought from Autozone. The inside diameter was same 8". Maybe I don't need to replace it, but it only needs machining. However, I have decided to use a new one because I don't want any more trouble with the drum brake.
Believe it or not, I have never changed rear brake shoes or drums since I bought the car in 2003. The odometer hit 315,000 miles.
Of course, the inside of the drum looks awful and lining was almost gone, but it didn't squeak.