@oristarA,
(1) *Jack is used to act like a hound after Mary.*
(2) *Jack is used to act like a dog after Mary.*
Both sentences are ungrammatical as they are written, Ori.
If you mean the
used which carries the meaning "formerly/as a past habit" then there's no 'be' verb used:
(1) Jack [is] used to act like a hound [after] around Mary.
(2) Jack [is] used to act like a dog [after] around Mary.
If you mean "familiar with/comfortable with" then you have to use "to act
ing":
(1) Jack is used to act
ing like a hound [after] chasing Mary.
(2) Jack is used to act
ing like a dog [after] chasing Mary.