Does the letter case of keys matter for the `icacls` and `takeown` commands?

No.