Gordon and Kerr-Schild ansätze in massive and bimetric gravity