The D-Major mazurka is listed as No. 54 and the revision as 55. This second one does look much different and is also longer than the first one by two lines.
I think this is correct and for your information, I have sheets on all mazurkas from no.1 to no.59. The 59:th, also named as Dabrowski Mazurka, has a text "with the refrain elaborated by Fryderyk Chopin"...whatever that means.
One thing that can be done about legality is to create your own sheets from scratch but that is a very time consuming work. I did that for the waltzes 18-20 and it took and least 20 hour for each waltz.