A quick test to check if the rivet is Aluminium, is to see if a magnet is attracted to it.
All the rivets I have come across have been steel.
Steel doesnt anodise.
If you try it, you will damage the calipers around the rivet, and the anodising equipment will probably be damaged too.