Hi Zig, and welcome to English Forums. A bit of a mess, eh wot?
who says what
what anyone says
In both clauses, the 'what's are the verb objects, while 'who' and 'anyone' are the subjects.
BUT:
It doesn't matter who says what
It doesn't matter what anyone says
The objects (or...