If you are deprived of your rights you are denied them, but that’s no reason to confuse these two expressions with each other. You can’t be “denied of” anything.