Is foulness used to mean the same thing in the next two sentences (see options)?

His display of foulness deserved severe punishment.

Mouths which speak such foulness must be cleansed.

Choose from: * different meanings; * the same meaning;
the same meaning