I managed to obtain the Kakuna and Hariama for Gen 6. I don't have a Piloswine Friend Safari and I lost my copy of Y. If I manage to find it, I will get the Metapod and send it here also
014 - Kakuna - 5D7625AF528E.pk6
297 - Hariyama - 1D5D4437A51A.pk6
They are random, but there is a fixed list of them. I think the full list is on Smogon.
Update: I found the list
http://www.smogon.com/forums/threads/battle-frontier-max-stats-pokemon-database.15426/
No, the Gen7TID is only valid for native Pokémon that came from Sun and Moon (The + icon), you can have a 5 digit TID and it will be legal if it is not from gen 7
(sidenote, please make your titles shorter in future)